package com.yesun.task.pipeline.domain.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "ods_stock_news")
public class NewsPO {
    @Id
    @Column(name = "topic")
    private String topic;

    @Column(name = "dt")
    private String dt = "";

    @Column(name = "summary")
    private String summary = "";

    @Column(name = "category")
    private String category = "";

    @Column(name = "publish_at")
    private String publishAt;

    @Column(name = "url")
    private String url;

    @Column(name = "source")
    private String source;

}
